<template>
	<view>
		<view class="card">
			<view class="start-center">
				<view>
					<view class="sheet-dept">患者身份证照片</view>
					<view class="center">
						<view class="title-bg"></view>
					</view>
				</view>
			</view>
			<view class="list-content">
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idfront.png"></u-image>
					<view class="text-center pad-5-0">身份证正面照</view>
				</view>
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idback.png"></u-image>
					<view class="text-center pad-5-0">身份证背面照</view>
				</view>
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idfront.png"></u-image>
					<view class="text-center pad-5-0">手持身份证正面照</view>
				</view>
			</view>
		</view>
		<view class="card mar-10-0" v-if="form.type==2">
			<view class="start-center">
				<view>
					<view class="sheet-dept">代理人身份证照片</view>
					<view class="center">
						<view class="title-bg"></view>
					</view>
				</view>
			</view>
			<view class="list-content">
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idfront.png"></u-image>
					<view class="text-center pad-5-0">身份证正面照</view>
				</view>
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idback.png"></u-image>
					<view class="text-center pad-5-0">身份证背面照</view>
				</view>
				<view class="list-item">
					<u-image mode="widthFix" src="/static/images/imgs/idfront.png"></u-image>
					<view class="text-center pad-5-0">手持身份证正面照</view>
				</view>
			</view>
		</view>
		<ButtonAllVue btn-r="下一步" @click="next"></ButtonAllVue>
	</view>
</template>

<script>
	import ButtonAllVue from '../../../../components/Button/ButtonAll.vue';
	export default {
		components: {
			ButtonAllVue
		},
		props: {
			step: Number,
			form: Object
		},
		data() {
			return {

			}
		},
		methods: {
			next() {
				this.$emit('updateStep', {
					step: 4,
					name: '领取方式',
					active: false,
				})
			}
		}
	}
</script>

<style scoped>
	.card {
		background-color: white;
		border-radius: 16px;
		padding: 16px;
		box-shadow: 0 5px 1000px 1rpx #e0e2e7;
	}

	.sheet-dept {
		font-size: 20px;
		color: #333;
		font-weight: bold;
		font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
		font-weight: 400;
		color: #333333;
		text-align: left;
		font-style: normal;
		text-transform: none;
	}

	.title-bg {
		width: 48px;
		height: 15rpx;
		background-color: rgba(65, 207, 230, 0.5);
		margin-top: -10px;
	}

	.list-content {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.list-item {
		width: 45%;
		margin: 10px 0;
	}
</style>